package com.ingrun.tuboshu.service;

import com.ingrun.tuboshu.entity.SysAdmin;
import com.ingrun.tuboshu.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ingrun.tuboshu.entity.vo.PasswordLoginQ;
import com.ingrun.tuboshu.entity.vo.UpdPasswordQ;
import com.ingrun.tuboshu.entity.vo.UpdUserQ;
import com.ingrun.tuboshu.entity.vo.UserListQ;
import com.ingrun.tuboshu.utils.params.PageHelperList;

/**
 * <p>
 * 用户表	 服务类
 * </p>
 *
 * @author ingrun
 * @since 2025-01-23
 */
public interface ISysUserService extends IService<SysUser> {

    SysUser selectUserByUserName(String username);

    Boolean register(SysUser sysUser);

    Boolean updateSelfUserInfo(UpdUserQ query);

    PageHelperList<SysUser> userList(UserListQ query);

    Boolean adminResetPassword(UpdPasswordQ query);
}
